package com.lin.linchatgpt.service;

import com.lin.linchatgpt.entity.dto.LoginDTO;
import com.mybatisflex.core.service.IService;
import com.lin.linchatgpt.entity.User;

/**
 *  服务层。
 *
 * @author 15898
 * @since 2023-06-12
 */
public interface UserService extends IService<User> {

    boolean register(User user);

    User login(LoginDTO loginDTO);
}